import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ChatService } from './chat.service';
import { ChatController } from './chat.controller';
import { Kit } from './entities/kit.entity';
import { Template } from '../template/entities/template.entity';
import { File } from '../files/entities/files.entity';
import { ChatSchemaService } from '../../services/chat-schema/chat-schema.service';
import { KitsModule } from '../kits/kits.module';
import { FilesModule } from '../files/files.module';
import { TemplateModule } from '../template/template.module';
import { UserBehavior } from '../user-behavior/entities/user-behavior.entity';
import { User } from '../user/entities/user.entity';
@Module({
  imports: [
    FilesModule,
    KitsModule,
    TemplateModule,
    TypeOrmModule.forFeature([Kit, Template, File,UserBehavior]),
    TypeOrmModule.forFeature([User])
  ],
  controllers: [ChatController],
  providers: [ChatService, ChatSchemaService],
  exports: [ChatSchemaService]

})
export class ChatModule {}